<template>
	<view class="common-share">
		<button class="share-button" open-type="share">
			<image class="icon" :src="imgurl + 'common/icon-share.png'"></image>
		</button>
		<text class="text-xs text-gray">分享</text>
	</view>
</template>

<script>
	import { imgurl } from '@/utils/constant.js';
	export default {
		name:"common-share",
		data() {
			return {
				imgurl
			};
		}
	}
</script>

<style>
	.common-share {
		font-size: 0;
	}
	.share-button {
		padding: unset;
		border: unset;
		border-radius: unset;
		background-color: unset;
		line-height: unset;
	}
	.share-button::after {
		border: 0;
	}
.icon {
	width: 48rpx;
	height: 48rpx;
}
</style>